package edu.hwadee.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Staff entity. @author MyEclipse Persistence Tools
 */

public class Staff implements java.io.Serializable {

	// Fields

	private Integer staffId;
	private Company companyByCompany;
	private Area area;
	private Company companyByBank;
	private String staffName;
	private String password;
	private String trueName;
	private String phoneNumber;
	private Short power;
	private Boolean sex;
	private String idnumber;
	private Date born;
	private String education;
	private String policy;
	private String property;
	private Date workDate;
	private String photo;
	private String bankNumber;
	private String idpicture;
	private String idpictureBack;
	private Short staffCharacter;
	private Short staffState;
	private String pinyin;
	private Set staffpapers = new HashSet(0);
	private Set buildrents = new HashSet(0);
	private Set materieluses = new HashSet(0);
	private Set companypaperrecords = new HashSet(0);
	private Set papermanagements = new HashSet(0);
	private Set carserversesForRepairman = new HashSet(0);
	private Set railagetasks = new HashSet(0);
	private Set carserversesForServerMan = new HashSet(0);
	private Set carserversesForOperator = new HashSet(0);
	private Set carsells = new HashSet(0);
	private Set buildrentincomes = new HashSet(0);
	private Set carplans = new HashSet(0);
	private Set buildcosts = new HashSet(0);
	private Set carbuies = new HashSet(0);
	private Set officematerialusesForOutboundman = new HashSet(0);
	private Set officematerialusesForReceiver = new HashSet(0);
	private Set clientbuies = new HashSet(0);
	private Set carpapermanagements = new HashSet(0);
	private Set officematerialbuies = new HashSet(0);
	private Set carsafeties = new HashSet(0);
	private Set railagepaies = new HashSet(0);
	private Set cars = new HashSet(0);
	private Set goodsorders = new HashSet(0);
	private Set suppliersells = new HashSet(0);
	private Set goodssuppliers = new HashSet(0);
	private Set oilbuies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Staff() {
	}

	/** minimal constructor */
	public Staff(Company companyByCompany, Area area, String staffName, String password, String trueName,
			String phoneNumber, Short power, Boolean sex, String idnumber, Date born, String education, String policy,
			String property, Date workDate, String idpictureBack, Short staffCharacter) {
		this.companyByCompany = companyByCompany;
		this.area = area;
		this.staffName = staffName;
		this.password = password;
		this.trueName = trueName;
		this.phoneNumber = phoneNumber;
		this.power = power;
		this.sex = sex;
		this.idnumber = idnumber;
		this.born = born;
		this.education = education;
		this.policy = policy;
		this.property = property;
		this.workDate = workDate;
		this.idpictureBack = idpictureBack;
		this.staffCharacter = staffCharacter;
	}

	/** full constructor */
	public Staff(Company companyByCompany, Area area, Company companyByBank, String staffName, String password,
			String trueName, String phoneNumber, Short power, Boolean sex, String idnumber, Date born, String education,
			String policy, String property, Date workDate, String photo, String bankNumber, String idpicture,
			String idpictureBack, Short staffCharacter, Short staffState, String pinyin, Set staffpapers,
			Set buildrents, Set materieluses, Set companypaperrecords, Set papermanagements,
			Set carserversesForRepairman, Set railagetasks, Set carserversesForServerMan, Set carserversesForOperator,
			Set carsells, Set buildrentincomes, Set carplans, Set buildcosts, Set carbuies,
			Set officematerialusesForOutboundman, Set officematerialusesForReceiver, Set clientbuies,
			Set carpapermanagements, Set officematerialbuies, Set carsafeties, Set railagepaies, Set cars,
			Set goodsorders, Set suppliersells, Set goodssuppliers, Set oilbuies) {
		this.companyByCompany = companyByCompany;
		this.area = area;
		this.companyByBank = companyByBank;
		this.staffName = staffName;
		this.password = password;
		this.trueName = trueName;
		this.phoneNumber = phoneNumber;
		this.power = power;
		this.sex = sex;
		this.idnumber = idnumber;
		this.born = born;
		this.education = education;
		this.policy = policy;
		this.property = property;
		this.workDate = workDate;
		this.photo = photo;
		this.bankNumber = bankNumber;
		this.idpicture = idpicture;
		this.idpictureBack = idpictureBack;
		this.staffCharacter = staffCharacter;
		this.staffState = staffState;
		this.pinyin = pinyin;
		this.staffpapers = staffpapers;
		this.buildrents = buildrents;
		this.materieluses = materieluses;
		this.companypaperrecords = companypaperrecords;
		this.papermanagements = papermanagements;
		this.carserversesForRepairman = carserversesForRepairman;
		this.railagetasks = railagetasks;
		this.carserversesForServerMan = carserversesForServerMan;
		this.carserversesForOperator = carserversesForOperator;
		this.carsells = carsells;
		this.buildrentincomes = buildrentincomes;
		this.carplans = carplans;
		this.buildcosts = buildcosts;
		this.carbuies = carbuies;
		this.officematerialusesForOutboundman = officematerialusesForOutboundman;
		this.officematerialusesForReceiver = officematerialusesForReceiver;
		this.clientbuies = clientbuies;
		this.carpapermanagements = carpapermanagements;
		this.officematerialbuies = officematerialbuies;
		this.carsafeties = carsafeties;
		this.railagepaies = railagepaies;
		this.cars = cars;
		this.goodsorders = goodsorders;
		this.suppliersells = suppliersells;
		this.goodssuppliers = goodssuppliers;
		this.oilbuies = oilbuies;
	}

	// Property accessors

	public Integer getStaffId() {
		return this.staffId;
	}

	public void setStaffId(Integer staffId) {
		this.staffId = staffId;
	}

	public Company getCompanyByCompany() {
		return this.companyByCompany;
	}

	public void setCompanyByCompany(Company companyByCompany) {
		this.companyByCompany = companyByCompany;
	}

	public Area getArea() {
		return this.area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public Company getCompanyByBank() {
		return this.companyByBank;
	}

	public void setCompanyByBank(Company companyByBank) {
		this.companyByBank = companyByBank;
	}

	public String getStaffName() {
		return this.staffName;
	}

	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getTrueName() {
		return this.trueName;
	}

	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}

	public String getPhoneNumber() {
		return this.phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Short getPower() {
		return this.power;
	}

	public void setPower(Short power) {
		this.power = power;
	}

	public Boolean getSex() {
		return this.sex;
	}

	public void setSex(Boolean sex) {
		this.sex = sex;
	}

	public String getIdnumber() {
		return this.idnumber;
	}

	public void setIdnumber(String idnumber) {
		this.idnumber = idnumber;
	}

	public Date getBorn() {
		return this.born;
	}

	public void setBorn(Date born) {
		this.born = born;
	}

	public String getEducation() {
		return this.education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getPolicy() {
		return this.policy;
	}

	public void setPolicy(String policy) {
		this.policy = policy;
	}

	public String getProperty() {
		return this.property;
	}

	public void setProperty(String property) {
		this.property = property;
	}

	public Date getWorkDate() {
		return this.workDate;
	}

	public void setWorkDate(Date workDate) {
		this.workDate = workDate;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getBankNumber() {
		return this.bankNumber;
	}

	public void setBankNumber(String bankNumber) {
		this.bankNumber = bankNumber;
	}

	public String getIdpicture() {
		return this.idpicture;
	}

	public void setIdpicture(String idpicture) {
		this.idpicture = idpicture;
	}

	public String getIdpictureBack() {
		return this.idpictureBack;
	}

	public void setIdpictureBack(String idpictureBack) {
		this.idpictureBack = idpictureBack;
	}

	public Short getStaffCharacter() {
		return this.staffCharacter;
	}

	public void setStaffCharacter(Short staffCharacter) {
		this.staffCharacter = staffCharacter;
	}

	public Short getStaffState() {
		return this.staffState;
	}

	public void setStaffState(Short staffState) {
		this.staffState = staffState;
	}

	public String getPinyin() {
		return this.pinyin;
	}

	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}

	public Set getStaffpapers() {
		return this.staffpapers;
	}

	public void setStaffpapers(Set staffpapers) {
		this.staffpapers = staffpapers;
	}

	public Set getBuildrents() {
		return this.buildrents;
	}

	public void setBuildrents(Set buildrents) {
		this.buildrents = buildrents;
	}

	public Set getMaterieluses() {
		return this.materieluses;
	}

	public void setMaterieluses(Set materieluses) {
		this.materieluses = materieluses;
	}

	public Set getCompanypaperrecords() {
		return this.companypaperrecords;
	}

	public void setCompanypaperrecords(Set companypaperrecords) {
		this.companypaperrecords = companypaperrecords;
	}

	public Set getPapermanagements() {
		return this.papermanagements;
	}

	public void setPapermanagements(Set papermanagements) {
		this.papermanagements = papermanagements;
	}

	public Set getCarserversesForRepairman() {
		return this.carserversesForRepairman;
	}

	public void setCarserversesForRepairman(Set carserversesForRepairman) {
		this.carserversesForRepairman = carserversesForRepairman;
	}

	public Set getRailagetasks() {
		return this.railagetasks;
	}

	public void setRailagetasks(Set railagetasks) {
		this.railagetasks = railagetasks;
	}

	public Set getCarserversesForServerMan() {
		return this.carserversesForServerMan;
	}

	public void setCarserversesForServerMan(Set carserversesForServerMan) {
		this.carserversesForServerMan = carserversesForServerMan;
	}

	public Set getCarserversesForOperator() {
		return this.carserversesForOperator;
	}

	public void setCarserversesForOperator(Set carserversesForOperator) {
		this.carserversesForOperator = carserversesForOperator;
	}

	public Set getCarsells() {
		return this.carsells;
	}

	public void setCarsells(Set carsells) {
		this.carsells = carsells;
	}

	public Set getBuildrentincomes() {
		return this.buildrentincomes;
	}

	public void setBuildrentincomes(Set buildrentincomes) {
		this.buildrentincomes = buildrentincomes;
	}

	public Set getCarplans() {
		return this.carplans;
	}

	public void setCarplans(Set carplans) {
		this.carplans = carplans;
	}

	public Set getBuildcosts() {
		return this.buildcosts;
	}

	public void setBuildcosts(Set buildcosts) {
		this.buildcosts = buildcosts;
	}

	public Set getCarbuies() {
		return this.carbuies;
	}

	public void setCarbuies(Set carbuies) {
		this.carbuies = carbuies;
	}

	public Set getOfficematerialusesForOutboundman() {
		return this.officematerialusesForOutboundman;
	}

	public void setOfficematerialusesForOutboundman(Set officematerialusesForOutboundman) {
		this.officematerialusesForOutboundman = officematerialusesForOutboundman;
	}

	public Set getOfficematerialusesForReceiver() {
		return this.officematerialusesForReceiver;
	}

	public void setOfficematerialusesForReceiver(Set officematerialusesForReceiver) {
		this.officematerialusesForReceiver = officematerialusesForReceiver;
	}

	public Set getClientbuies() {
		return this.clientbuies;
	}

	public void setClientbuies(Set clientbuies) {
		this.clientbuies = clientbuies;
	}

	public Set getCarpapermanagements() {
		return this.carpapermanagements;
	}

	public void setCarpapermanagements(Set carpapermanagements) {
		this.carpapermanagements = carpapermanagements;
	}

	public Set getOfficematerialbuies() {
		return this.officematerialbuies;
	}

	public void setOfficematerialbuies(Set officematerialbuies) {
		this.officematerialbuies = officematerialbuies;
	}

	public Set getCarsafeties() {
		return this.carsafeties;
	}

	public void setCarsafeties(Set carsafeties) {
		this.carsafeties = carsafeties;
	}

	public Set getRailagepaies() {
		return this.railagepaies;
	}

	public void setRailagepaies(Set railagepaies) {
		this.railagepaies = railagepaies;
	}

	public Set getCars() {
		return this.cars;
	}

	public void setCars(Set cars) {
		this.cars = cars;
	}

	public Set getGoodsorders() {
		return this.goodsorders;
	}

	public void setGoodsorders(Set goodsorders) {
		this.goodsorders = goodsorders;
	}

	public Set getSuppliersells() {
		return this.suppliersells;
	}

	public void setSuppliersells(Set suppliersells) {
		this.suppliersells = suppliersells;
	}

	public Set getGoodssuppliers() {
		return this.goodssuppliers;
	}

	public void setGoodssuppliers(Set goodssuppliers) {
		this.goodssuppliers = goodssuppliers;
	}

	public Set getOilbuies() {
		return this.oilbuies;
	}

	public void setOilbuies(Set oilbuies) {
		this.oilbuies = oilbuies;
	}

}